package com.aaa.static3;

/**
 * @Description:
 * @author:LiWei
 * @date:2022年11月09日19:50
 */
public class Test {
    public static void main(String[] args) {

        Haha haha = new Haha();
        ProxyFactory proxyFactory = new ProxyFactory(haha);
        Haha target = (Haha) proxyFactory.getTarget();
        int i = target.cheng(1, 2);
        System.out.println(i);
    }
}
